package com.ruoyi.course.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 课程管理对象 course
 * 
 * @author ruoyi
 * @date 2023-10-19
 */
public class Course extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 课程号 */
    private Long courseId;

    /** 课程名 */
    @Excel(name = "课程名")
    private String courseName;

    /** 开课院系 */
    @Excel(name = "开课院系")
    private String courseFaculty;

    /** 学分 */
    @Excel(name = "学分")
    private Long credit;

    /** 课时 */
    @Excel(name = "课时")
    private Long classHour;

    /** 课程状态 */
    @Excel(name = "课程状态")
    private String courseStatus;

    public void setCourseId(Long courseId) 
    {
        this.courseId = courseId;
    }

    public Long getCourseId() 
    {
        return courseId;
    }
    public void setCourseName(String courseName) 
    {
        this.courseName = courseName;
    }

    public String getCourseName() 
    {
        return courseName;
    }
    public void setCourseFaculty(String courseFaculty) 
    {
        this.courseFaculty = courseFaculty;
    }

    public String getCourseFaculty() 
    {
        return courseFaculty;
    }
    public void setCredit(Long credit) 
    {
        this.credit = credit;
    }

    public Long getCredit() 
    {
        return credit;
    }
    public void setClassHour(Long classHour) 
    {
        this.classHour = classHour;
    }

    public Long getClassHour() 
    {
        return classHour;
    }
    public void setCourseStatus(String courseStatus) 
    {
        this.courseStatus = courseStatus;
    }

    public String getCourseStatus() 
    {
        return courseStatus;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("courseId", getCourseId())
            .append("courseName", getCourseName())
            .append("courseFaculty", getCourseFaculty())
            .append("credit", getCredit())
            .append("classHour", getClassHour())
            .append("courseStatus", getCourseStatus())
            .toString();
    }
}
